package org.bao.dao;

import java.util.List;

import org.bao.bean.shoppingcarBean;

public interface shoppingcarDao {
    int deleteByPrimaryKey(Integer userid);

    int insert(shoppingcarDao record);

    /**
     * 将信息写人数据库
     * @param record
     * @return
     */
    int insertSelective(shoppingcarBean record);

    shoppingcarDao selectByPrimaryKey(Integer userid);
    
    /**
     * 根据用户id查询购物车信息
     * @param userTel
     * @return
     */
	List<?> selectByUid2PhoneCar(Integer userTel);

    int updateByPrimaryKeySelective(shoppingcarDao record);

    int updateByPrimaryKey(shoppingcarDao record);
}